#!/bin/bash

echo "key in file name-->\c"
read filename
echo "key in date:"
while 
	read x
do 
	if [[ $x == ":q" ]];then break;fi
	echo $x>>$filename
done
cat $filename
